#include<iostream>
#include<cctype>
using namespace std;
int main() {
  if(ispunct('-'))
    cout << "YES" << endl;
  return 0;
}
